package com.lqq.designPattern.bulider_pattern.singleton.demo3;

public class Client {
    public static void main(String[] args) {
        Singleton instance1 = Singleton.getInstance();
        Singleton instance2 = Singleton.getInstance();
        //判断两个对象是否属于同一个对象
        System.out.println("是否为同一个对象" + (instance1 == instance2));


    }
}
